Automattic\Jetpack\Forms\ContactForm\Contact_Form_Field D

Total Complexity 166
Dependencies 5
Dependents 2
Total lines 1,120
Lines of code 627
Logical lines of code 346
Comment lines 384
Methods 26
Properties 8

Methods 26

Method Rating Maintainability Complexity Lines of code
render_field()
C
33 28 88
render()
C
32 27 99
__construct()
B
36 16 77
validate()
A
45 15 41
render_label()
A
51 10 24
render_legend_as_label()
A
54 8 19
render_input_field()
S
52 7 23
render_select_field()
S
46 6 36
render_radio_field()
S
49 6 28
render_checkbox_multiple_field()
S
49 6 27
render_consent_field()
S
57 4 14
render_date_field()
S
52 3 25
render_outline_label()
S
58 3 17
render_textarea_field()
S
56 3 17
render_checkbox_field()
S
60 4 10
maybe_override_type()
S
61 3 12
render_animated_label()
S
62 3 11
render_below_label()
S
63 3 10
get_form_style()
S
71 2 5
get_option_value()
S
71 2 6
add_error()
S
68 2 7
render_url_field()
S
59 1 13
render_default_field()
S
71 1 5
render_telephone_field()
S
71 1 5
is_error()
S
82 1 3
render_email_field()
S
71 1 5